package com.ww.learn.coroutine.actors

import kotlinx.coroutines.CompletableDeferred

sealed class CounterMessage
object Increment : CounterMessage() // 递增消息
object Decrement : CounterMessage() // 递减消息
class GetValue(val response: CompletableDeferred<Int>) : CounterMessage() // 获取当前值